package com.atguigu.jinx.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author steve
 * @date 2025/08/26 16:56
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SalesNumVO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 城市
     */
    private List<SalesNumByCityVO> salesNumByCityVOList;

    /**
     * 岗位
     */
    private List<SalesNumByTypeVO> salesNumByTypeVOList;

    /**
     * 已接单数
     */
    private Integer totalAcceptedNum;

    /**
     * 剩余额度
     */
    private Integer totalRetainNum;


    /**
     * 城市分别
     */
    @Data
    public static class SalesNumByCityVO {
        private String cityName;

        private Integer acceptingNum;

        private Integer acceptedNum;

    }

    /**
     * 岗位分别
     */
    @Data
    public static class SalesNumByTypeVO {
        /**
         * 工作性质
         */
        private String jobType;

        /**
         * 每一个工作种别的任务数量
         */
        private Integer jobNum;
    }


}


